package com.vessel.decoration.mvp.ui.fragment.main;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.jess.arms.di.component.AppComponent;
import com.vessel.decoration.R;
import com.vessel.decoration.app.base.MySupportFragment;
import com.vessel.decoration.mvp.ui.activity.PayActivity;

import butterknife.OnClick;

public class ShopCartTabFragment extends MySupportFragment {

    public static ShopCartTabFragment newInstance() {
        return new ShopCartTabFragment();
    }

    @Override
    public void setupFragmentComponent(AppComponent appComponent) {
    }

    @Override
    public View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_tab_shopcart, container, false);
    }

    @Override
    public void initData(Bundle savedInstanceState) {
    }

    @Override
    public void setData(Object data) {

    }

    @OnClick(R.id.pay)
    void OnClick() {
        startActivity(new Intent(getActivity(), PayActivity.class));
    }
}
